import UIKit

var a = 0
//循环三要素: 1. 循环变量 2.循环体 3.终止条件
while a < 10 {
  a += 2
  print(a)
}

var b = 1
repeat {
  b += 2
  print("b: \(b)")
}while (b < 10)
